﻿using System;
using System.Collections.Generic;

namespace XuanXiang.Infrastructure.EFCore.MySql
{
    /// <summary>
    /// 订单表
    /// </summary>
    public partial class Order
    {
        /// <summary>
        /// 订单号
        /// </summary>
        public string Oid { get; set; } = null!;
        /// <summary>
        /// 商品种类数量
        /// </summary>
        public int? OgoodsTypeCount { get; set; }
        /// <summary>
        /// 商品数量
        /// </summary>
        public int? Ototal { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        public double? Omoney { get; set; }
        /// <summary>
        /// 供应商ID
        /// </summary>
        public string? Osid { get; set; }
        /// <summary>
        /// 商户ID
        /// </summary>
        public string? Omid { get; set; }
        /// <summary>
        /// 下单时间
        /// </summary>
        public DateTime? OcreateTime { get; set; }
        /// <summary>
        /// 是否完成
        /// </summary>
        public int? OisComplete { get; set; }
        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTime? OcompleteTime { get; set; }
        /// <summary>
        /// 是否取消
        /// </summary>
        public int? OisCancel { get; set; }
        /// <summary>
        /// 取消时间
        /// </summary>
        public DateTime? OcancelTime { get; set; }
        /// <summary>
        /// 实际产生金额
        /// </summary>
        public double? OcurrMoney { get; set; }
        /// <summary>
        /// 是否直营订单
        /// </summary>
        public int? OisDirectly { get; set; }
        /// <summary>
        /// 1-商户取消,2-供应商取消
        /// </summary>
        public int? OcancelType { get; set; }
        /// <summary>
        /// 是否接单----1:未处理;1:已接单;0:已拒绝
        /// </summary>
        public int? OisAccept { get; set; }
        /// <summary>
        /// 接单时间
        /// </summary>
        public DateTime? OacceptTime { get; set; }
        /// <summary>
        /// 是否收货
        /// </summary>
        public int? OisSend { get; set; }
        /// <summary>
        /// 发货时间
        /// </summary>
        public DateTime? OsendTime { get; set; }
        /// <summary>
        /// 是否收货
        /// </summary>
        public int? OisReceive { get; set; }
        /// <summary>
        /// 收货时间
        /// </summary>
        public DateTime? OreceiveTime { get; set; }
        /// <summary>
        /// 商品名称，用逗号隔开
        /// </summary>
        public string? OgoodsNames { get; set; }
    }
}
